package com.cgsrp.cgsrp_community.dao;

import com.cgsrp.cgsrp_community.domain.BlogLike;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlogLikeMapper {
    int deleteByPrimaryKey(@Param("blogId") Integer blogId, @Param("userId") Integer userId);

    int insert(BlogLike record);

    int insertSelective(BlogLike record);

    List<Integer> findLikeBlogIdByUserId(int userId);

}
